#pragma once

#ifndef __CONSTDEFINE_H__
#define __CONSTDEFINE_H__

const UINT  TID_RETRIEVE = 100;
const UINT  TID_ROLLING  = 200;


const int   WINDOW_WIDTH  = 135;
const int   WINDOW_HEIGHT = 24;


#ifdef _DEBUG
#define NATEON_WEATHER_GUID  _T("AB4F4B06-32BA-4ABC-ACB2-9F84CA8AC284")
#else
#define NATEON_WEATHER_GUID  _T("B4EECDA0-5845-4FDA-B9FF-78BF50CE6F53")
#endif


class  CWeatherMainDlg;
extern CWeatherMainDlg* g_pMainDlg;
extern HWND     g_hWndParent;
extern CString  g_strMainPath;
extern CString  g_strSkinPath;
extern CString  g_strTempPath;
extern CString  g_strConfPath;
extern CString  g_strMainID;
extern CString  g_strMainCmn;

class  CDispNateMessengerApi;
extern CDispNateMessengerApi*   g_pNateOn;

typedef CArray<CPoint, CPoint>  CPtArray;


extern BOOL ISOSNT();


typedef struct tagWEATHERINFO
{
    CString m_strStnId;
    CString m_strIconId;
    CString m_strDesc;
    CString m_strTemp;
    CString m_strCity;
} WEATHERINFO;


#endif // __CONSTDEFINE_H__